import request from "@/utils/request"

// 列表查询
export function appList(data, skip, limit) {
  return request({
    url: `/system/app/page/${skip}/${limit}`,
    method: "post",
    data
  })
}


// 查询详情
export function appInfo(id) {
  return request({
    url: `/system/app/${id}`,
    method: "get",
  })
}


// 保存
export function appSave(data) {
  return request({
    url: `/system/app/save`,
    method: "post",
    data
  })
}


// 删除
export function appDel(id) {
  return request({
    url: `/system/app/${id}`,
    method: "delete",
  })
}

